package com.yict.csms.system.util;

import org.apache.commons.lang.StringUtils;

/**
 * <h3>字符串处理类</h3> <h4>Description</h4>
 * 
 * <h4>Special Notes</h4>
 */
public class StringUtil extends StringUtils {

	/**
	 * @param 麻鹰龙门吊机械Code
	 * @return 计费麻鹰龙门吊数据字典Code
	 * 
	 **/
	public static String machToSource(String machineCode) {
		String code = "";
		if (machineCode.equals(DictionaryUtils.OPTIONTYPE_RTGC)) {
			code = DictionaryUtils.DICT_CODE_COST_SOURCE_2;
		} else if (machineCode.equals(DictionaryUtils.OPTIONTYPE_FL)) {
			code = DictionaryUtils.DICT_CODE_COST_SOURCE_1;
		}
		return code;
	}
}
